package com.ruoyi.trainingManagement.mapper;

import java.util.List;
import com.ruoyi.trainingManagement.domain.FirstLevelDiscipline;
import org.apache.ibatis.annotations.Mapper;

/**
 * 一级学科目录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-23
 */
@Mapper
public interface FirstLevelDisciplineMapper 
{
    /**
     * 查询一级学科目录
     * 
     * @param id 一级学科目录主键
     * @return 一级学科目录
     */
    public FirstLevelDiscipline selectFirstLevelDisciplineById(String id);

    /**
     * 查询一级学科目录列表
     * 
     * @param firstLevelDiscipline 一级学科目录
     * @return 一级学科目录集合
     */
    public List<FirstLevelDiscipline> selectFirstLevelDisciplineList(FirstLevelDiscipline firstLevelDiscipline);

    /**
     * 新增一级学科目录
     * 
     * @param firstLevelDiscipline 一级学科目录
     * @return 结果
     */
    public int insertFirstLevelDiscipline(FirstLevelDiscipline firstLevelDiscipline);

    /**
     * 修改一级学科目录
     * 
     * @param firstLevelDiscipline 一级学科目录
     * @return 结果
     */
    public int updateFirstLevelDiscipline(FirstLevelDiscipline firstLevelDiscipline);

    /**
     * 删除一级学科目录
     * 
     * @param id 一级学科目录主键
     * @return 结果
     */
    public int deleteFirstLevelDisciplineById(String id);

    /**
     * 批量删除一级学科目录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFirstLevelDisciplineByIds(String[] ids);
}
